import axios from "axios";
const axiosInstance=axios.create({//创建axios实例
	baseURL: process.env.NODE_ENV === "production" ? "" : "/proxy",//设置一个 `baseURL` 便于为 axios 实例的方法传递相对 URL
	headers: {
		'X-Requested-With': 'XMLHttpRequest',
	},
});
export default axiosInstance;